#include <iostream>
int main(int argc, char const *argv[])
{
	using namespace std;
	int nights = 1001;
	int *pt = new int;
	*pt = 1001;
	cout << "nights value :" << nights <<"  location:" <<&nights << endl ;
	cout << "int value :" << *pt << ":location "<< pt <<endl;
	double * pd = new double;
	*pd = 1000001.1;
	cout << "double value " <<*pd <<":lcation = " <<&pd <<endl; 
	cout << "location of pointer pd:" <<&pd <<endl;
	cout << "size of pt = " << sizeof(pt) << endl;
	cout << "size of *pt = " << sizeof(*pt) << endl;
	cout << "size of pd = " << sizeof(pd) << endl;
	cout << "size of *pd = " << sizeof(*pd) << endl;
	return 0;
}